package com.jy.appmarket.network.engine;

import java.util.Map;

import android.content.Context;

import com.jy.appmarket.network.resultdata.AppDetailResultData;

/**
 * 类说明：
 * 
 * @author Toby.chen
 * @date 2013-6-3
 * @version 1.0
 */

public class AppDetailNetEngine extends BaseNetEngine {

	private String mPackageName;

	public AppDetailNetEngine(String pn) {
		mPackageName = pn;
		mResultData = new AppDetailResultData();
		mHttpMethod = HTTP_GET;
	}

	@Override
	protected String getCommand() {
		return "app";
	}

	@Override
	protected void getParams(Context context, Map<String, String> custParams) {
		custParams.put("packageName", mPackageName);
	}
}
